﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.AssemblySequence.CUiAssemblySequenceFromOperationCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using EngineeringInternalExtension.AssemblySequence;
using Tecnomatix.Engineering;
using Tecnomatix.Engineering.PrivateImplementationDetails;


namespace DnProcessSimulateCommands.AssemblySequence;

[TxFeatureToggle("VR_ASSEMBLY_SEQUENCE")]
public class CUiAssemblySequenceFromOperationCmd : TxButtonCommand
{
  private CUiAssemblySequenceFromOperationCmdEnabler m_enabler;

  public CUiAssemblySequenceFromOperationCmd()
  {
    this.m_enabler = new CUiAssemblySequenceFromOperationCmdEnabler();
  }

  public virtual void Execute(object cmdParams)
  {
    new CApAssemblySequenceGenerator().execute(false);
  }

  public virtual string Category
  {
    get => CApAssemblySequenceStringTable.GENERATE_OP_ASSEMBLY_SEQUENCE_CMD_CATEGORY;
  }

  public virtual string Name
  {
    get => CApAssemblySequenceStringTable.GENERATE_OP_ASSEMBLY_SEQUENCE_CMD_NAME;
  }

  public virtual string Description
  {
    get => CApAssemblySequenceStringTable.GENERATE_OP_ASSEMBLY_SEQUENCE_CMD_DESCRIPTION;
  }

  public virtual string Tooltip
  {
    get => CApAssemblySequenceStringTable.GENERATE_OP_ASSEMBLY_SEQUENCE_CMD_TOOLTIP;
  }

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this.m_enabler;

  public virtual string Bitmap => "AssemblySequence.Images.OperationAssemblySequence_SMALL.bmp";

  public virtual string LargeBitmap
  {
    get => "AssemblySequence.Images.OperationAssemblySequence_LARGE.png";
  }
}
